<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册</title>
</head>
<body>
    <form action="/blog/reg/" method="post">
        <!-- 如果使用Django框架，需要添加CSRF保护 -->
        {% csrf_token %}

        <div>
            <label for="username">用户名:</label>
            <input type="text" id="username" name="username" required>
        </div>

        <div>
            <label for="password">密码:</label>
            <input type="password" id="password" name="password" required>
        </div>

        <button type="submit">注册</button>
    </form>
</body>
</html>